# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=baobab
pkgver=45.0
pkgrel=0
pkgdesc="A graphical application to analyse disk usage in any Gnome environment"
url="https://wiki.gnome.org/action/show/Apps/DiskUsageAnalyzer"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	desktop-file-utils
	gettext-dev
	glib-dev
	gtk4.0-dev
	itstool
	libadwaita-dev
	meson
	vala
	"
options="!check" # no tests
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/baobab/${pkgver%.*}/baobab-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
cc3cae0c3ef13dbf2e09c12cc4443b5b1420a06829a4944be98099b03e875c5e88e9611242e1494e1ec85687772519c03c817b6e7d535040e2276e5d6fb902df  baobab-45.0.tar.xz
"
